package com.changgou.oauth.service;

import com.changgou.oauth.util.AuthToken;
import org.springframework.util.StringUtils;

public interface AuthService {

    AuthToken applyToken(String username, String password, boolean github);

    AuthToken getToken(String code) throws Exception;
}
